package com.arpa.oms.mapper;

import com.arpa.oms.domain.dto.OmsReceivableDTO;
import com.arpa.oms.domain.entity.OmsReceivable;
import com.arpa.oms.domain.vo.OmsReceivableVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * OMS收款单 Mapper 接口
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
public interface OmsReceivableMapper extends BaseMapper<OmsReceivable> {

    /**
     * 查询列表
     * @param omsReceivableDTO
     * @return
     */
    List<OmsReceivableVO> queryList(OmsReceivableDTO omsReceivableDTO);

    /**
     * 查询合计,包含总数
     * @param omsReceivableDTO
     * @return
     */
    OmsReceivableVO queryListSum(OmsReceivableDTO omsReceivableDTO);
}
